<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@page import="nc.bs.ebvppub.tools.DefualtPageBarInfo"%>
<%@page import="nc.vo.ecpubapp.pattern.data.DefaultPageInfo"%>
<%@ page import="nc.vo.sm.UserVO"%>
<%@ page import="nc.vo.ebvp.logindex.pojo.Constant"%>
<%@ taglib uri="/WEB-INF/lang-support.tld" prefix="lang-support"%> 
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>

<html>
  <head>  
    <link type="text/css" rel="stylesheet" href="commonres/common/frame/src/css/pursche.css" />
    <link type="text/css" rel="stylesheet" href="commonres/common/frame/src/css/viewhistory.css" />
    
    <script type="text/javascript" src="commonres/common/frame/src/js/selfservice_menu.js"></script>
    <script type="text/javascript">	
    
       var ebvp_context="<%=path%>"; 
       $(function() {
		   	$( "#downloadCenter" ).parents("ul").find(".current").removeClass("current");
			$( "#downloadCenter" ).addClass("current");
	   }); 	
       
       function qryData(){
    	   $("#form1").attr("action", ebvp_context + "/infopub/filterquerybywordsdownload");
    	   $("#form1").submit();
       }
       
    </script>
    <script type="text/javascript">
   		 seajs.use("/web/component/webpub/tools/placeholder/src/placeholder.js",function(placeholder){
   			placeholder.init();   	   		 
   	     });
    </script>
    <style type="text/css">
		#orderGrid table tbody a{
			  background: url("/ebvp/commonres/common/frame/src/img/list_img_3dot_blue.png") no-repeat scroll 0 50% transparent;
			  color: #1D58B1;
			  float: left;
			  line-height: 23px;
			  padding-left:13px;
			  font-weight: bold;
			  text-decoration :none;
		}
		#orderGrid table tbody tr.row_even {
		  background: none ;
		}
	</style>
    <lang-support:langres resid="ec22400_0;ec22370_0" />
  </head>
  
  <body>
	<div class="float_center doc_width">
	    <div class="doc_content_shadow">
	        <div class="doc_content">
	            <div id="columnLeft" class="frame_column_left">
	            </div>
	            <div class="frame_right">
	                <div class="location_bar">
	                    <a resid="0ec22370-000001" href="<%=basePath%>/infopub/pubmain?menuid=1">首页</a>
	                    <span resid="0ec22370-000002" class="location_bar1">自助服务</span>
	                    <span resid="0ec22370-000003">下载中心</span>
	                </div>
	                <div>
	                   <br/><br/><br/><br/>
	                </div>
	               
		            <div id="tenderQueryForm" class="subpage_query_form pd_10x0px mrg_top10px">
		               <form name="form1"  id="form1" method="post" >
	                        <div class="form_row">	                           
	                            <div resid="0ec22370-000004" class="form_title w_230px">文件搜索</div>
	                            <div class="form_field">
	        	<!--=notranslate=--><input id="Text1" name="searchtext" type="text" class="textfield pd_5x2px w_178px"
	        								value="<c:if test="${filterwords!=null}">${filterwords}</c:if><c:if test="${filterwords==''}"><lang-support:wp resid="ec22370_0" key="0ec22370-000005"/></c:if><c:if test="${filterwords==null}"><lang-support:wp resid="ec22370_0" key="0ec22370-000005"/></c:if>" onfocus="this.select();" />	                     
	                            </div>
	                        </div>	 
	                        <div class="form_row">
	                             <div class="form_title w_126px">
	                                 <a id="btnQuery" class="btn_orange" onclick="qryData()">
		                                 <span resid="0ec22370-000007"class="w_80px h_20px">搜索</span>
		                            </a>
		                         </div>
	                        </div>
		               </form> 
		            </div>
                
					<div id="orderGrid" style="float: left; width: 100%"></div>
					<script type="text/javascript">
						seajs.use('pagegrid',
										function(PageGrid) {
											var pageGrid = new PageGrid(
													{
														attrs : {
															isPagination : true,
															url : "/ebvp/infopub/viewfileajax",
															columns : [
																	{
																		label : "",
																		key : "vbillcode",
																		format : function(
																				value,
																				row) {
																	var ret = '<a target="_blank" href="/ebvp/infopub/show_download_content?id='
																					+ row.pk_infopub_h
																					+ '">'
																					+ row.infotitle
																					+ '</a>'
																					+ '<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;">'
																					+ row.pubtime
																					+ '</span>';
																			return ret;
																		},
																		width : 500,
																		align : "left"
																	}]
														},
														renderTo : "orderGrid",
														autoRender : false
													});
													
											$(".btn_orange").bind("click", function() {
												pageGrid.query($("#form1"));
												return false;
												});
											pageGrid.query($("#form1"));
										});
					</script>
	        </div>
	    </div>
	</div>
 </div>
   
  </body>
</html>
